package com.escape.subject.domain.handler.subject;


import com.escape.subject.common.enums.SubjectInfoTypeEnum;
import com.escape.subject.domain.entity.SubjectAnswerBO;
import com.escape.subject.domain.entity.SubjectInfoBO;
import com.escape.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {

    // 枚举身份的识别
    SubjectInfoTypeEnum getSubjectType();

    // 实际题目的插入
    void add(SubjectInfoBO subjectInfoBO);

    // 实际题目答案查询
    SubjectOptionBO query(SubjectInfoBO subjectInfoBO);
}
